package com.fjb.common.utils;

import com.fjb.common.enums.order.OrderStatus;

/**
 * @Description:公告的用具代码
 * @author hemiao
 * @time:2020年2月11日 下午9:05:28
 */
public class CommonUtils {
	
	public static String getOrderStatusMsg(Integer orderStatus) {
		if(orderStatus.equals(OrderStatus.STATUS_1.getCode())) {
			
			return OrderStatus.STATUS_1.getMsg();
		}
		if(orderStatus.equals(OrderStatus.STATUS_2.getCode())) {
			return OrderStatus.STATUS_2.getMsg();
		}
		if(orderStatus.equals(OrderStatus.STATUS_3.getCode())) {
			return OrderStatus.STATUS_3.getMsg();
		}
		if(orderStatus.equals(OrderStatus.STATUS_4.getCode())) {
			return OrderStatus.STATUS_4.getMsg();
		}
		if(orderStatus.equals(OrderStatus.STATUS_5.getCode())) {
			return OrderStatus.STATUS_5.getMsg();
		}
		if(orderStatus.equals(OrderStatus.STATUS_6.getCode())) {
			return OrderStatus.STATUS_6.getMsg();
		}
		if(orderStatus.equals(OrderStatus.STATUS_6.getCode())) {
			return OrderStatus.STATUS_6.getMsg();
		}
		return "";
	}
	
}
